<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
  <head>
	<meta name="verify-v1" content="FOwpp7yLe9xHwJB2k0VMKB432cDX0I/kUlRsL18tgKc=" >
    <title>{% block title %}{% endblock %} - site name</title>
    {% block css %}
      {# <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}combined-{% if LANGUAGE_BIDI %}rtl{% else %}ltr{% endif %}.css" /> #}
    {% endblock %}

    {% block js %}
      {# <script type="text/javascript" src="{{ MEDIA_URL }}combined-{{ LANGUAGE_CODE }}.js"></script> #}
    {% endblock %}

    {% block extra-head %}{% endblock %}
  </head>

  <body>
    {% block header %}
      <div id="header">
        <div class="menu">
          <a href="/">Home</a> |
          <a href="{% url myapp.views.list_people %}">Generic views sample</a> |
          <a href="/admin/">Admin interface</a> |
          <a href="http://code.google.com/p/app-engine-patch/">Visit app-engine-patch</a> |
          <a href="http://code.google.com/p/app-engine-patch/wiki/Documentation">Documentation</a>
          --
          {% if user.is_authenticated %}
            Welcome, {{ user.username }}!
            <a href="{% url django.contrib.auth.views.logout %}">Logout</a>
          {% else %}
            <a href="{% url django.contrib.auth.views.login %}">Login</a>
            <a href="{% url registration.views.register %}">Register</a>
          {% endif %}
        </div>
      </div>
    {% endblock %}
    <div id="content" class="column">
      {% block content-header %}
        {% if error %}<div class="error">{{ error }}</div>{% endif %}
        {% if info %}<div class="info">{{ info }}</div>{% endif %}
        {% if messages %}
          {% for message in messages %}
            <div class="info">{{ message }}</div>
          {% endfor %}
        {% endif %}
      {% endblock %}
      {% block content %}{% endblock %}
    </div>
  </body>
</html>
